package org.SimpleSpringBoot.user;

import org.SimpleSpringBoot.annotation.Service;

/**
 * 消息服务类
 */
@Service
public class MessageService {

    /**
     * 发送消息
     */
    public String sendMessage(String message) {
        return "消息已发送: " + message;
    }

    /**
     * 获取欢迎消息
     */
    public String getWelcomeMessage() {
        return "欢迎使用简化版Spring Boot框架！";
    }
}
